package com.seal.dao;

import java.util.List;

import com.seal.comm.utils.Page;
import com.seal.dto.TemplateDto;
import com.seal.model.Template;

public interface ITemplateDao {

	void addTemplate(Template Template) throws Exception;

	void updateTemplate(Template Template) throws Exception;

	Template getTemplateById(String id) throws Exception;

	List<Template> getTemplate(String msgtype, String busitype, String lang)
			throws Exception;

	List<Template> getAllTemplate(TemplateDto dto, Page page) throws Exception;

}
